<?php
/* [$WindsForce] (C)Hunzhiwange.COM Since 2014.07.28.
   家居快捷回复控制器($$)*/

!defined('Q_PATH') && exit;

class JiajuquickreplyController extends AController{

	public function filter_(&$arrMap){
		//$arrMap['A.jiajuquickreply_module']=array('like',"%".Q::G('jiajuquickreply_module')."%");
		//$arrMap['A.jiajuquickreply_name']=array('like',"%".Q::G('jiajuquickreply_name')."%");
	}

	public function index($sModel=null,$bDisplay=true){
		parent::index('jiajuquickreply',false);
		$this->display(Admin_Extend::template('jiaju','jiajuquickreply/index'));
	}

	public function add(){
		$this->display(Admin_Extend::template('jiaju','jiajuquickreply/add'));
	}

	public function edit($sMode=null,$nId=null,$bDidplay=true){
		$nId=intval(Q::G('value','G'));
		parent::edit('jiajuquickreply',$nId,false);
		$this->display(Admin_Extend::template('jiaju','jiajuquickreply/add'));
	}

	public function insert($sModel=null,$nId=null){
		$nId=Q::G('value');
		parent::insert('jiajuquickreply',$nId);
	}

	public function update($sModel=null,$nId=null){
		$nId=Q::G('value');
		parent::update('jiajuquickreply',$nId);
	}

	public function foreverdelete_deep($sModel=null,$sId=null){
		$sId=Q::G('value');
		parent::foreverdelete_deep('jiajuquickreply',$sId);
	}

}
